// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//解决部分浏览器白屏问题
import 'babel-polyfill'
//引入第三方fastclick库，解决某些浏览器或者移动端设备点击延时的问题
import fastclick from 'fastclick'
//引入vue-awesome-swiper轮播图插件库
import VueAwesomeSwiper from 'vue-awesome-swiper'
//引入vuex数据管理库
import store from './store'

//由于不同设备的初始化样式不同，所以引入重置样式表
//这个表里已经做了对rem的调用
import 'styles/reset.css'
//引入解决移动端1px边框问题样式表
import 'styles/border.css'
//引入阿里巴巴矢量图库
import 'styles/iconfont.css'
//引入swiper的css样式文件
import 'swiper/dist/css/swiper.css'



Vue.config.productionTip = false
fastclick.attach(document.body)
Vue.use(VueAwesomeSwiper)
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  components: { App },
  template: '<App/>'
})
